package io.renren.service;

import io.renren.common.entity.XlsUsersBankcardsEntity;
import io.renren.common.service.CrudService;
import io.renren.dto.XlsUsersBankcardsDTO;
import io.renren.utils.AppResult;

/**
 * 用户的银行卡表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-12
 */
public interface XlsUsersBankcardsService extends CrudService<XlsUsersBankcardsEntity, XlsUsersBankcardsDTO> {

    AppResult toAddBankcards(Long userId);

    AppResult agreeconfirm(XlsUsersBankcardsEntity usersBankcards, String realName, String cardId);

    AppResult selectBankCartsList(XlsUsersBankcardsEntity usersBankcards);

    AppResult unbind(Long bankCardId);

    AppResult getBankById(Long bankCardId);
}